package com.dom.invoapp.dao.service.impl;

import com.dom.invoapp.dao.entity.TpPurcOrderFlow;
import com.dom.invoapp.dao.mapper.TpPurcOrderFlowMapper;
import com.dom.invoapp.dao.service.ITpPurcOrderFlowService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * P_采购订单流水表 服务实现类
 * </p>
 *
 * @author xllei
 * @since 2018-11-17
 */
@Service
public class TpPurcOrderFlowServiceImpl extends ServiceImpl<TpPurcOrderFlowMapper, TpPurcOrderFlow> implements ITpPurcOrderFlowService {
    @Override
    public boolean insertReturnPrimary(TpPurcOrderFlow orderFlow){
        //默认memcode为0
        orderFlow.setMemCode(0);
        return this.baseMapper.insertReturnPrimary(orderFlow);
    }
}
